package cn.itcast.chapter01;

public class Student {
	private int id;
	private String name;
	private String gender;
	private String birth;
	private int clase;
	private String phone;
	
	
	public Student() {
		super();
	}
	
	public Student(int id, String name, String gender, String birth, int clase, String phone) {
		super();
		this.id = id;
		this.name = name;
		this.gender = gender;
		this.birth = birth;
		this.clase = clase;
		this.phone = phone;
	}

	public int getId() {
		return id;
	}
	
	public void setId(int id) {
		this.id = id;
	}
	
	public String getName() {
		return name;
	}
	
	public void setName(String name) {
		this.name = name;
	}
	
	public String getGender() {
		return gender;
	}
	
	public void setGender(String gender) {
		this.gender = gender;
	}
	
	public String getBirth() {
		return birth;
	}
	
	public void setBirth(String birth) {
		this.birth = birth;
	}
	
	public int setClase() {
		return clase;
	}
	
	public void setClase(int clase) {
		this.clase = clase;
	}
	
	public String getPhone() {
		return phone;
	}
	
	public void setPhone(String phone) {
		this.phone = phone;
	}
	
	@Override
	public String toString() {
			return"student [学生学号=" + id + ", 学生姓名=" + name + ", 学生性别=" + gender + ", 学生出生日期=" + birth +  ", 学生班级="  + clase + ", 学生联系方式=" + phone + "]";
	}
}
